<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    .space{
        letter-spacing: -6px;
        word-spacing: -6px;
    }
    .space a{
        font-size: 16px;
        display: inline-block;
        padding: 8px 16px;
        background-color: grey;

    }
</style>
<body>
    <div class="space">
        <a href="#">百度</a><!--
        --><a href="#">腾讯</a><!--
        --><a href="#">字节</a>

        <a href="#">百度</a>
        <a href="#">腾讯</a>
        <a href="#">字节</a>
    </div>
</body>
</html>